package com.baidu.user.service;

import java.math.BigDecimal;
import java.util.List;

import com.baidu.user.entity.User;
import com.baidu.user.entity.UserBasicInfo;
import com.baidu.user.entity.UserCustom;

public interface UserService {
	
	public User login(String loginname, String password);

	public void register(User model);

	public void update(User model);

	public UserCustom findById(BigDecimal id);

	public List<Object> getFirstTeachers();

	public List<Object> getSecondTree();

	public UserBasicInfo findBasicUserById(BigDecimal id);

}
